package com.bbm.communitysystem.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author bbm
 * @since 2025-02-13
 */
@Data
@Schema(description = "新闻表")
public class NewsDto{// ... 包和导入保持不变 ...

    @Schema(description = "新闻id")
    private Integer id;

    @Schema(description = "新闻标题")
    private String newsTitle;

    @Schema(description = "新闻封面URL")
    private String newsImg;

    @Schema(description = "新闻正文内容")
    private String newsContent;

    @Schema(description = "新闻作者")
    private String newsAuthor;

    @Schema(description = "新闻发布时间")
    private String newsTime;

    @Schema(description = "最后更新人")
    private String updateBy;

    @Schema(description = "最后更新时间")
    private String updateTime;

    @Schema(description = "状态: 3-未发布 2-已发布 1-启用 0-停用")
    private Integer status;
}

